home *** CD-ROM | disk | FTP | other *** search
- Grad V1.1
-
- By
-
- Nick Long
-
-
-
- ─────────────────────────────────────────────────────────────
-
-
- Included files are:
-
- GRAD.DOC -- This file.
- GRAD.QLB -- QuickBasic quick library.
- GRAD.LIB -- Linkable Grad library. Only REGISTERED.
- GRAD.BI -- Grad inclue file.
- DEMO.BAS -- QuickBasic demo for Grad libraries.
-
- Ok, lets get started. First off, copy the
-
- -GRAD.LIB *Only if you have REGISTERED.
- -GRAD.QLB
-
- files to your QuickBasic Library Directory.
-
- Then copy the:
-
- -GRAD.BI
-
- file to your QuickBasic Include Directory.
-
- Run:
-
- QB /LGRAD
-
- Then type:
-
- '$INCLUDE:' GRAD.BI'
-
- And your off.
-
- Grad comes with three routines for Gradiating colors.
-
- Grad256
- GradX
- GradXY
-
- To call any one of these routines simply type their name followed
- by the variables or numbers to be passed to the routine (The numbers
- explained in one sec.)
-
- Variables used throught this document:
-
- R1 -- A number from 0 to 63 representing the Red content
- of the first color.
-
- G1 -- A number from 0 to 63 representing the Green content
- of the first color.
-
- B1 -- A number from 0 to 63 representing the Blue content
- of the first color.
-
- R2 -- A number from 0 to 63 representing the Red content
- of the second color.
-
- G2 -- A number from 0 to 63 representing the Green content
- of the second color.
-
- B2 -- A number from 0 to 63 representing the Green content
- of the second color.
-
- X -- A number from 1 to 256 representing the number of color
- attributes used gradiate a color.
-
- Y -- A number from 1 to 256 representing the starting position
- of a gradiation.
-
- The Routines:
-
- -Grad256 (R1, G1, B1, R2, G2, B2)
-
- Function: Gradiates two colors using 256 frames.
-
- -GradX (R1, G1, B1, R2, G2, B2, X)
-
- Function: Gradiates two colors using X number of frames.
-
- -GradXY (R1, G1, B1, R2, G2, B2, X, Y)
-
- Function: Gradiates two colors using X number of frames starting at
- the Y attribute.
-
-
- If you like the Grad libraries and think they will be useful in your
- QuickBasic programming send $5.00 + $3.00 s&h to:
-
- Nick Long
- 162 N. Acacia Ave.
- Monrovia, CA 91016